﻿using System;
using System.Text;
using Eflong.Utility;

namespace Eflong.Monitor
{
    internal class EflongLog
    {
        public EflongLog( )
        {
        }

        public void Debug( string msg )
        {
            StringBuilder sb = new StringBuilder( );
            sb.Append( DateTime.Now.ToLocalTime( ) );
            sb.Append( "->" );
            sb.AppendLine( msg );
            string str = sb.ToString( );

            LogWrapper.Logger.Debug( str );
        }

        public void Warn( String str )
        {
            LogWrapper.Logger.Warn( str );
        }
    }
}